<div style="float:left">
  <h2>list:</h2>
  <%= link_to 'create a new post', new_blog_admin_post_path %>
  <% @posts.each do |post| %>
  <p>
  <%= post.title %>
  <%= link_to 'show', blog_admin_post_path(post) %>
  <%= link_to 'edit', edit_blog_admin_post_path(post) %>
  <%= link_to 'delete', blog_admin_post_path(post), :method => :delete, :confirm => 'Are you sure?' %>
  <p>
  <% end %>
</div>

<div style="float: right">
  <%= render :partial => 'blog/admin_friendblogs/form', :locals => {:friendblog => @friendblog, :url => blog_admin_friendblogs_path, :method => :post}  %>
  <div id="friendblogs_list" style="float: right;">
    <% @friend_blogs.each do |friendblog| %>
    <%= render :partial => 'blog/admin_friendblogs/friendblog_record', :locals => {:friendblog => friendblog} %>
    <% end %>
  </div>
</div>
